package com.wander.designStructural.adapter.objectAdapter;

/**
 * @Author : WDYin
 * @Date : 2020/12/10
 * @Desc : 建议尽量使用对象的适配器模式，多用合成/聚合、少用继承。
 */
public class Client {
    public static void main(String[] args) {

        ObjectAdaptee objectAdaptee = new ObjectAdaptee();
        ObjectAdapter objectAdapter = new ObjectAdapter(objectAdaptee);


        objectAdapter.socket2();

    }
}
